import { legacy_createStore as createStore } from "redux";

let reducer=(store={lis:[]},disval)=>{
    switch(disval.type){
        case "add":
            store.lis=disval.val
            return store
        default :
            return store
    }
}

let stores=createStore(reducer)

export default stores